#include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
class CPolygon
{
protected:
	int width.height;
public:
	void setValues(int a,int b);
};
void CPolygon::setValues(int a,int b)
{
	width=a;
	height=b;
}
class COutput
{
public:
	void writeln(int i);
};
void COutput::writeln(int i)
{
	cout << i << endl;
}
class CRectangle:public CPolygon,public COutput
{
public:
	int area();
};
int CRectangle